﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.FAS.Runtime.MF.Entity.ElsaEntity
{
    public class ActivityExecutionRecord
    {
        public string Id { get; set; } = default!;
        public string WorkflowInstanceId { get; set; } = default!;
        public string ActivityId { get; set; } = default!;
        public string ActivityNodeId { get; set; } = default!;
        public string ActivityType { get; set; } = default!;
        public int ActivityTypeVersion { get; set; }
        public string? ActivityName { get; set; }
        public DateTime StartedAt { get; set; }
        public bool HasBookmarks { get; set; }
        public string Status { get; set; } = default!;
        public DateTime? CompletedAt { get; set; }
        public string? SerializedActivityState { get; set; }
        public string? SerializedException { get; set; }
        public string? SerializedOutputs { get; set; }
        public string? SerializedPayload { get; set; }
        public string? SerializedActivityStateCompressionAlgorithm { get; set; }
        public string? SerializedProperties { get; set; }
        public string? TenantId { get; set; }
    }
}
